﻿using System;

namespace Ideaa.Domain.Models.Base
{
    public abstract class BaseEntity
    {
        // Properties
        public int Id { get; set; }

        public string CreatedUserId { get; set; }

        public DateTime DateCreatedOnUtc { get; set; }

        // Constructors
        public BaseEntity(int id, string createdUserId)
        {
            this.Id = id;
            this.CreatedUserId = createdUserId;
            this.DateCreatedOnUtc = DateTime.UtcNow;
        }
    }
}
